package top.hcode.hoj.pojo.dto.coll;

import lombok.Data;
import org.nutz.lang.util.NutMap;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author orangej
 * @since 2025/3/1
 */
@Data
public class AdmCollQuestionJsonImportDTO {
    @NotBlank(message = "collId不能为空")
    private String collId;

    @NotEmpty(message = "题目列表不能为空")
    private List<NutMap> questions;   // [{title, score, questionType, options:[{num, content, isCorrect}]}]
}
